package com.itcast.flink.order;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lilulu
 * @date 2023-04-07 9:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderEvent {
    private String orderId;
    private String userId;
    private Double orderMoney;
    private String orderTime;

    @Override
    public String toString() {
        return orderTime + "," + userId + "," + orderMoney + "," + orderId;
    }
}
